﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Controls.Maps;
using Microsoft.Phone.Controls.Maps.Core;
using Microsoft.Phone.Tasks;
using System.Device.Location;

namespace findMePanorama
{
    public partial class contact : PhoneApplicationPage
    {
        public contact()
        {
            InitializeComponent();
        }

        private void lastLocationBtn_Tap(object sender, GestureEventArgs e)
        {
            LabeledMapLocation end = new LabeledMapLocation();
            end.Label = "18.24, -66.10";

            BingMapsDirectionsTask x = new BingMapsDirectionsTask();

            x.End = end;
            x.Show();
        }

        private void chatBtn_Tap(object sender, GestureEventArgs e)
        {
            NavigationService.Navigate(new Uri("/chat.xaml", UriKind.Relative));
        }

      

       
    }
}